import request from "@/api/request"

export const InsertRecruitment=(data)=>{
    return request({
        url:'/recruitment',
        method:'POST',
        data
    })
}
export const getAllRecruitment=()=>{
    return request({
        url:'/recruitment'
    })
}
export const UpdateRecruitment=(data)=>{
    return request({
        url:'/recruitment',
        method:'PUT',
        data
    })
}
export const deleteRecruitment=(id)=>{
    return request({
        url:`/recruitment/${id}`,
        method:'DELETE',
    })
}